// 单例类 用于记录用户列表的滚动列表
export class DataStorage {
    private static _instance: DataStorage = null!;
    public static get instance() {
        if (this._instance) {
            return this._instance;
        }
        this._instance = new DataStorage();
        return this._instance;
    }

    private _userListScrollTop: number = 0;
    public getUserListScrollTop() {
        return this._userListScrollTop;
    }
    public setUserListScrollTop(scrollTop: number) {
        this._userListScrollTop = scrollTop;
    }
}
